package com.zyms.service;

import com.zyms.myRunTime.MyRunTimeExcption;
import org.springframework.amqp.core.Message;

/**
 * Created by Baggio on 2018-1-30.
 */
public interface ProducerService {
    public void sendQueue(String exchange_key, String queue_key, Object object) throws MyRunTimeExcption;
    public void sendQueue(Message message) throws MyRunTimeExcption;
    public  void sendDataToQueue(String queueKey, Object object) throws MyRunTimeExcption;
}
